package com.rs.util;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.rs.service.rs.AttendanceSercive;


 
@Component
public class TimingTask {
	@Autowired
	private AttendanceSercive as;    
	/**
              *  每天4点执行一次
     */
    @Scheduled(cron="0 0 4 * * ?")
    public void executeFileDownLoadTask() {
    	as.attendanceAdd1();
    }
    
    
}
